package com.zidongxiangxi.lock.starter.constant;

/**
 * This is Description
 *
 * @author chenxudong
 * @date 2021/12/30
 */
public class DistributedLockConstants {
    private DistributedLockConstants() {}
    private static final String SEPARATOR = ".";

    public static final String BASE_CONFIG = "distributed-lock";

    public static final String DISTRIBUTED_LOCK_TYPE_CONFIG = BASE_CONFIG + SEPARATOR + "type";

    public static final String REDIS_DISTRIBUTED_LOCK_TYPE = "redis";

    public static final String ZOOKEEPER_DISTRIBUTED_LOCK_TYPE = "zookeeper";

}
